<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;

use DB;
class PhotoController extends Controller
{
    //
    public function index()
    {
        return "11111111111111";
    }

    public function test()
    {
        return "test";
    }

    //查询数据
    public function getList()
    {
        $data = DB::table('new')->get();
        dd($data);
    }
}
